package cz.apnetis.fitweb.client;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import cz.apnetis.fitweb.shared.Calorie;

@RemoteServiceRelativePath("calorie.do")
public interface CalorieService extends RemoteService {
  List<Calorie> calorieList(String name) throws IllegalArgumentException;

  Calorie saveCalorie(Calorie calorie) throws IllegalArgumentException;
}
